﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GACFFP.Services
{
    public class IdentifySource
    {
        public IdentifySource()
        {
        //

        }

        public static int GetVoteSource()
        {
            //check URL / domain / whatever to find source

            // 1 represents gasf.com

            return 1;

        }

        public static bool GetLoginStatus()
        { 
            //switch on GetVoteSource()

            //call check login status depending on source

            return true;
        
        }

        public static string GetUserName()
        { 
            //check cookie or call other service

            //switch on GetVoteSource()

            return "testUser";
        }

     

    }
}